package my.service;

import java.sql.SQLException;
import java.util.List;

import my.bean.Cart;

public interface ICartService {

	int add(Cart cart) throws SQLException;

	int deleteById(int cid) throws SQLException;

	int modify(Cart cart) throws SQLException;

	List<Cart> findAll();

	List<Cart> findByUserId(int userid);

	Cart findByCartId(int cartId);

}
